<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
import Room from './view/Room.vue'

import overload from "@/tool/overload";

let test: any = {};
overload(test, "func", function() {
  console.log("没有参数");
});
overload(test, "func", function(a: any) {
  console.log("一个参数");
});
overload(test, "func", function(a: any, b: any) {
  console.log("两个参数");
});
test.func();
test.func(1);
test.func(1, 2);
</script>

<template>
  <router-view />
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100%;
  /*margin-top: 60px;*/
}
</style>
